package com.xjc.business.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 时间段表
 * @TableName time_periods
 */
@TableName(value ="time_periods")
@Data
public class TimePeriods implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer schId;

    /**
     * 类型(0:选宿 1:换宿 2:留宿)
     */
    private Integer type;

    /**
     * 开始时间
     */
    private Date timeBegin;

    /**
     * 结束时间
     */
    private Date timeEnd;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}